package com.lightboat.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lightboat.system.domain.CrmPerformancePlan;

import java.util.List;

/**
 * 业绩计划Service接口
 * 
 * @author lightboat
 * @date 2025-11-10
 */
public interface ICrmPerformancePlanService  extends IService<CrmPerformancePlan> {
    /**
     * 查询业绩计划
     * 
     * @param id 业绩计划主键
     * @return 业绩计划
     */
    public CrmPerformancePlan selectCrmPerformancePlanById(Long id);

    /**
     * 查询业绩计划列表
     * 
     * @param crmPerformancePlan 业绩计划
     * @return 业绩计划集合
     */
    public List<CrmPerformancePlan> selectCrmPerformancePlanList(CrmPerformancePlan crmPerformancePlan);

    /**
     * 新增业绩计划
     * 
     * @param crmPerformancePlan 业绩计划
     * @return 结果
     */
    public int insertCrmPerformancePlan(CrmPerformancePlan crmPerformancePlan);

    /**
     * 修改业绩计划
     * 
     * @param crmPerformancePlan 业绩计划
     * @return 结果
     */
    public int updateCrmPerformancePlan(CrmPerformancePlan crmPerformancePlan);

    /**
     * 批量删除业绩计划
     * 
     * @param ids 需要删除的业绩计划主键集合
     * @return 结果
     */
    public int deleteCrmPerformancePlanByIds(Long[] ids);

    /**
     * 删除业绩计划信息
     * 
     * @param id 业绩计划主键
     * @return 结果
     */
    public int deleteCrmPerformancePlanById(Long id);

}
